#include <iostream>
using namespace std;
template <typename T>
ostream &myprint(ostream &os, const T &t)
{
    return os << t;
}
template <typename T,typename... Args>
ostream &myprint(ostream &os, const T &t,const Args&... rest)
{
    os << t << ",";
    return myprint(os,rest...);
}

int main(int argc, char const *argv[])
{
    myprint(cout, 4, 6.6, "string");
    return 0;
}
